<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/2010admin/Check_IsLogin.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<!--#include file="Rent_Info_Inc.asp" -->
<%
If Request.ServerVariables ("Request_Method")="POST" Then
	Call Rent_Info_Action()	
Else
	
	Call Get_Rent_Info("Info_ID")
End If
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/2010admin/css/default.css" type="text/css" rel="stylesheet">
<title><%=web_title%></title>
<script language="javascript" src="/2010admin/js/validator.js"></script>
<script language="javascript" src="/js/jquery.js"></script>
<script language="javascript" src="js/Rent_info.js"></script>
<script type="text/javascript" src="/2010admin/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/2010admin/ckfinder/ckfinder.js"></script>

</head>
<body >
<table border="0" width="100%" cellSpacing="0" cellPadding="0">
  <tr>
    <td width="100%" height="5"></td>
  </tr>
  <tr>
    <td width="100%" align="center">
      <table border="0" width="98%" cellSpacing="0" cellPadding="0">
        <tr>
          <td width="*" align="center" valign="top">
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">管理导航</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="20">&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="userlist"><a href="Info_Query.asp">信息列表</a></span>&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="useradd"><a href="Rent_Info_AE.asp">增加新的租房信息</a></td>
                    </tr>
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0">
              <tr>
                <td width="100%" height="5"></td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop"><%=Action%>租房信息</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0" class="tablesh">
                  <form name="form" method="post" action="" onSubmit="return Validator.Validate(this, 2)">

                    <tr>
                      <td height="25">城市</td>
                      <td><% AjaxSelected_BySql "City_ID","SELECT ID,CA_Name FROM City_Area WHERE Parent_ID=0 ORDER BY CA_Order ASC","",City_ID,"City_Change()" %></td>
                    </tr>
                    <tr>
                      <td height="25">区域</td>
                      <td>
					  <select name="Corp_City_Area" id="Corp_City_Area" style="width:120" >
					  </select>
					  </td>
                    </tr>
                    <tr>
                      <td width="80" height="25">信息类型</td>
                      <td width="*"><% MySelected "Info_Type","出租信息,出售信息","出租信息,出售信息","",Info_Type%></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">信息标题</td>
                      <td width="*"><input name="Rent_Title" type="text" id="Rent_Title" size="60" value="<%=Rent_Title%>" dtype="Limit" min="2" max="100" dmsg="信息标题必须在2-100个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">房间图片</td>
                      <td width="*">
					  <input type="text" name="Room_Pic"  value="<%=Room_Pic%>" size="60" ><iframe id=d_file frameborder=0 src="/2010admin/common/file_upload.asp?change_field=Room_Pic" width="300" height="40" scrolling=no></iframe>
                     </td>
                    </tr>

	
                    <tr>
                      <td width="80" height="25">价格期间</td>
                      <td width="*"><% MySelectEd "Price_Type",Price_Type_V,Price_Type_T,"",Price_Type%>
                    </tr>
                    <tr>
                      <td width="80" height="25">房间类型</td>
                      <td width="*"><% MySelectEd "Room_Type","一居,二居,三居,四居,五居,五居以上","一居,二居,三居,四居,五居,五居以上","",Room_Type%>
                    </tr>
                    <tr>
                      <td width="80" height="25">具体房型</td>
                      <td width="*"><input name="Room_Type2" type="text" id="Room_Type2" size="60" value="<%=Room_Type2%>" dtype="Limit" min="0" max="20" dmsg="具体房型必须小于20个字符间"></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">出租类型</td>
                      <td width="*"><% MySelectEd "Rent_Type","整租,合租","整租,合租","",Rent_Type%>
                    </tr>
                    <tr>
                      <td width="80" height="25">出租面积</td>
                      <td width="*"><input name="Room_Area" type="text" id="Room_Area" size="60" value="<%=Room_Area%>" dtype="Limit" min="0" max="50" dmsg="出租面积必须小于50个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">装修说明</td>
                      <td width="*"><input name="Room_ZX" type="text" id="Room_ZX" size="60" value="<%=Room_ZX%>" dtype="Limit" min="0" max="50" dmsg="装修说明必须小于50个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">楼层说明</td>
                      <td width="*"><input name="Room_Floor" type="text" id="Room_Floor" size="60" value="<%=Room_Floor%>" dtype="Limit" min="0" max="50" dmsg="楼层说明明必须小于50个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">出租价格</td>
                      <td width="*"><input name="Rent_Price" type="text" id="Rent_Price" size="60" value="<%=Rent_Price%>" dtype="Limit" min="0" max="50" dmsg="楼层说明明必须小于50个字符间"></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">付款条件</td>
                      <td width="*"><input name="Room_Pay" type="text" id="Room_Pay" size="60" value="<%=Room_Pay%>" dtype="Limit" min="0" max="50" dmsg="付款条件必须小于50个字符间"></td>
                    </tr>
					
                    <tr>
                      <td width="80" height="25">租期</td>
                      <td width="*"><input name="Room_Rent_Date" type="text" id="Room_Rent_Date" size="60" value="<%=Room_Rent_Date%>" dtype="Limit" min="0" max="20" dmsg="租期必须小于20个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">押金</td>
                      <td width="*"><input name="Room_Rent_YJ" type="text" id="Room_Rent_YJ" size="60" value="<%=Room_Rent_YJ%>" dtype="Limit" min="0" max="50" dmsg="押金必须小于50个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">建筑年代</td>
                      <td width="*"><input name="Room_Build_Year" type="text" id="Room_Build_Year" size="60" value="<%=Room_Build_Year%>" dtype="Limit" min="0" max="50" dmsg="建筑年代必须小于50个字符间"></td>
                    </tr>

                    <tr>
                      <td width="80" height="25">地址</td>
                      <td width="*"><input name="Corp_Address" type="text" id="Corp_Address" size="60" value="<%=Corp_Address%>" dtype="Limit" min="0" max="20" dmsg="地址必须小于20个字符间">,简写地址<input name="Corp_Address_S" type="text" id="Corp_Address_S" size="20" value="<%=Corp_Address_S%>" dtype="Limit" min="0" max="20" dmsg="简写地址必须小于20个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">联系人</td>
                      <td width="*"><input name="Room_Link" type="text" id="Room_Link" size="60" value="<%=Room_Link%>" dtype="Limit" min="0" max="20" dmsg="联系人必须小于20个字符间"></td>
                    </tr>

					<tr>
                      <td width="80" height="25">电话</td>
                      <td width="*"><input name="Room_Tel" type="text" id="Room_Tel" size="60" value="<%=Room_Tel%>" dtype="Limit" min="0" max="20" dmsg="电话必须小于20个字符间"></td>
                    </tr>

                    <tr>
                      <td height="25">&nbsp;</td>
                      <td><input type="submit" name="submit" value="提交" class="button">&nbsp;<input type="reset" name="reset" value="取消" class="button"></td>
                    </tr>
					<input type="hidden" name="Info_ID" value="<%=Info_ID%>">
                  </form>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%" height="5"></td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
<!--
var Area_ID="<%=City_Area%>";

City_Change();

//-->
</script>

<%
Call conn_close()
%>

